package com.itheima.mapper;

import com.itheima.pojo.User;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

/**
 * @author Jt
 * @date 2021/4/5 21:09
 */
public interface UserMapper {

    @Select("select * from tb_user where username = #{username}")
    public User findById (@Param("username") String username);

}
